package tp.pr5.instructions.exceptions;

/**
 * Exception thrown when a instruction execution fails. The exception has a user-friendly message with an explanation about the error. 
 * This class has many different constructors, one for every constructor of the base class.
 *
 */
public class InstructionExecutionException extends Exception
{
	
	private static final long serialVersionUID = 1L;

	/**
	 * Default constructor
	 */
	public InstructionExecutionException()
	{
		super();
	}
	
	/**
	 * Constructor with a message
	 * 
	 * @param arg0
	 */
	public InstructionExecutionException(String arg0)
	{
		super(arg0);
	}
	
	/**
	 * Constructor with an argument
	 * @param arg0
	 */
	public InstructionExecutionException(Throwable arg0)
	{
		super(arg0);
	}
	
	/**
	 * Constructor with an argument and a message
	 * @param arg0
	 * @param arg1
	 */
	public InstructionExecutionException(String arg0, Throwable arg1)
	{
		super(arg0, arg1);
	}
}
